package com.ym.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ym.entity.SysUser;

import java.util.List;

public interface SysUserService extends IService<SysUser> {
    IPage<SysUser> selectByExample(IPage<?> page, SysUser example);

    List<String> getRoleNames(Integer userId);

    List<String> getPermissionNames(Integer userId);
}